'''def foo():
    r=some_function()
    if r==(-1):
        return (-1)
    return r
def bar():
    r=foo()
    if r==(-1):
        print 'Error'
    else:
        pass
'''
def foo(s):
    return 10/int(s)
def bar(s):
    return foo(s)*2
def main():
    try:
        bar('1')
    except StandardError as e:
        print 'error !',e
    finally:
        print 'finally...'